package com.smartfactory.sail.vo.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.smartfactory.sail.entity.enums.OrderSampleStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 王巨壁
 * @title: ListOrderListResp
 * @projectName smart-sail
 * @description: 合同订单列表返回对象
 * @date 2019/8/818:27
 */
@Data
public class ListYPOrderListResp {

    @ApiModelProperty(value = "序号")
    private Long id;

    @ApiModelProperty(value = "订单编码")
    private String orderCode;

    //外部 cust
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    //外部 item
    @ApiModelProperty(value = "原料编码")
    private String itemCode;

    @ApiModelProperty(value = "样品订单状态")
    @TableField("sampleStatus")
    private OrderSampleStatusEnum sampleStatus;

    //------------以下暂时不用---------------------------------------------------------------

   /* @ApiModelProperty(value = "订单号")
    private String orderCode;

    @ApiModelProperty(value = "下单时间")
    private String createTime;

    @ApiModelProperty(value = "交货日期")
    private String deliveryDate;

    //外部 contract
    @ApiModelProperty(value = "合同类型1普通2加急")
    private ContractTypeEnum contractType;

    @ApiModelProperty(value = "订单类型1样品订单2合同订单")
    private OrderItemTypeEnum orderType;


    @ApiModelProperty(value = "订单模式1.生产订单2修磨订单3外包订单4混合订单具体参考constants表")
    @TableField("orderMode")
    private OrderModelEnum orderModelEnum;

    @ApiModelProperty(value = "如果是合同订单这个字段必填合同id")
    private Long contractId;

    @ApiModelProperty(value = "客户id可能为空,样品订单无需客户")
    @TableField("custId")
    private Long custId;


    @ApiModelProperty(value = "下单人id对应userid")
    private Integer underOrderId;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "修改人")
    private String updateUser;

    @ApiModelProperty(value = "更新时间yyyy-MM-dd HH:mm:ss")
    private String updateTime;*/

}
